/*******************************************************************************
 * Copyright (c) 2010, 2011 Xbeam Project and ChenZhiKong.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. 
 *******************************************************************************/
package org.bellusoft.xbeam.framework.resolve;

import java.util.Map;

/**
 *Singleton class represents the module is already resolved in another resolving process and has 
 *already been confirmed.
 *
 */
class ResolvedModuleResolveResult implements ModuleResolveResult{
	
	private final static ModuleResolveResult single = new ResolvedModuleResolveResult();
	
	static ModuleResolveResult instance(){
		return single ; 
	}
	
	private ResolvedModuleResolveResult(){
	}

	/**
	 * Return <code>null</code>. 
	 * 
	 * @return null.
	 */
	public Map<RequiredModule, ModuleResolveData> getModuleWires() {
		return null;
	}

	/**
	 * Return <code>null</code>. 
	 * 
	 * @return null.
	 */
	public Map<ImportPackage, ExportPackage> getPackageWires() {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * Return {@link ResolveState#Resolved} 
	 * 
	 * @return {@link ResolveState#Resolved}
	 * @see ResolveState
	 */
	public ResolveState getState() {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * Return <code>null</code>. 
	 * 
	 * @return null.
	 */
	public String getFailedReason() {
		return null;
	}

}
